<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>思云课堂</title>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <link rel="stylesheet" href="/ztree/css/metroStyle.css">
    <script src="/jquery/jquery-3.2.1.min.js"></script>
    <script src="/layui/layui.js"></script>
    <link rel="stylesheet" href="/css/goods/goods-table.css">
    <script src="/ztree/js/jquery.ztree.core.min.js"></script>
    <script src="/ztree/js/jquery.ztree.excheck.min.js"></script>
    <script src="/ztree/js/jquery.ztree.exedit.min.js"></script>
</head>
<body οnlοad="opener.location.reload()">
<div id="box">
    <div class="layui-row">
        <div class="layui-elem-quote">
            <div id="goodsTable">商品列表</div>
            <div style="float: right">
                <button class="layui-btn" onclick="javascript:Refresh();"><i class="layui-icon layui-icon-refresh"></i>刷新
                </button>
                <button class="layui-btn" onclick="javascript:goBack();"><i class="layui-icon layui-icon-left"></i>返回
                </button>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-card">
            <div class="layui-card-header">
                <h3 style="float: left"><i class="layui-icon layui-icon-search"></i>筛选查询</h3>
                <button style="float: right" class="layui-btn" onclick="retrieval()">高级检索</button>
            </div>
            <div class="layui-card-body">
                <form class="layui-form">
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label">输入搜索：</label>
                            <div class="layui-input-inline">
                                <input class="layui-input" type="text" placeholder="请输入商品名称" name="productName">
                            </div>
                        </div>
                        <div class="layui-inline search">
                            <label class="layui-form-label">商品状态：</label>
                            <div class="layui-input-inline">
                                <select name="productSate" id="productSate">
                                    <option value="">请选择商品状态</option>
                                    <option value="1">上架</option>
                                    <option value="2">下架</option>
                                </select>
                            </div>
                        </div>
                        <div class="layui-inline search">
                            <label class="layui-form-label">商品标签：</label>
                            <div class="layui-input-inline">
                                <input class="layui-input" type="text" placeholder="请输入商品标签" name="productLabel">
                            </div>
                        </div>
                        <div class="layui-inline search" style="float: right">
                            <button class="layui-btn" type="button" lay-submit lay-filter="search"><i
                                    class="layui-icon layui-icon-search"></i>搜索
                            </button>
                            <button class="layui-btn layui-btn-danger" type="reset"><i
                                    class="layui-icon layui-icon-refresh"></i>重置
                            </button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="" style="float: left;width: 25%">
            <ul id="ztree" class="ztree" style="margin-top: 20px;margin-left: 40px"></ul>
        </div>
        <div class="" style="float: left;width: 75%">
            <table class="layui-table" id="table"></table>
        </div>
    </div>
    <div id="toptool" class="layui-hide">
        <p class="layui-icon" style="float: left">&#xe649; 数据列表</p>
        <div style="float: right">
            <button class="layui-btn layui-icon layui-icon-upload-circle" onclick="javaacript;"> 导入</button>
            <button class="layui-btn layui-icon layui-icon-add-circle" onclick="addProduct()"> 添加</button>
        </div>
    </div>
    <input type="hidden" name="createId" value="">
    <input type="hidden" name="updateId" value="">
</div>
<div id="rMenu">
    <ul>
        <li id="m_add" onclick="addTreeNode();">增加节点</li>
        <li id="m_del" onclick="removeTreeNode();">删除节点</li>
        <li id="m_edit" onclick="edit();">编辑节点</li>
    </ul>
</div>
<script src="/js/goods/goods-table.js"></script>

</body>
</html>